package com.rs.game.player.dialogues.impl;

import com.rs.game.player.dialogues.Dialogue;
import com.rs.utils.ShopsHandler;

public class Cook extends Dialogue {
	
    private int npcId = 9367;


	@Override
	public void start() {
		sendNPCDialogue(npcId, NORMAL, "Pots, food, raw, cooked, burnt, low cost, high cost, I can provide you everything. At your service.");
    }


	@Override
	public void run(int interfaceId, int componentId) {
		if (stage == -1) {
			sendOptionsDialogue("Pick what you need.", "Food", "Pots", "Never mind");
			stage = 0;
		} else if (stage == 0) {
			if (componentId == OPTION_1) {
				ShopsHandler.openShop(player, 40);
				end();
			} else if (componentId == OPTION_2) {
				ShopsHandler.openShop(player, 41);
				end();
			} else if (componentId == OPTION_3) {
				end();
			}
		}
		
	}

	@Override
	public void finish() {
		// TODO Auto-generated method stub
		
	}

}
